package com.shenmazong.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_class")
@ApiModel(value="课程信息")
public class TbClass implements Serializable {
    @ApiModelProperty(value="课程id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "学生id")
    private Integer studentId;
    @ApiModelProperty(value = "教师id")
    private Integer teacherId;
    @ApiModelProperty(value = "课程费用")
    private Long classFee;
    @ApiModelProperty(value = "上课时间id")
    private Integer classtimeId;
    @ApiModelProperty(value = "课程状态")
    @TableField("class_status")
    private Integer classStatus;
    @ApiModelProperty(value = "创建时间")
    private String createTime;
    @ApiModelProperty(value = "上课日期")
    private String classDate;

}
